package com.kx.yooli.kx.wechat.entity.bill;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.ColumnAlias;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;
import java.util.Date;

/**
 * @author john_sqwen-childe.wen
 * @date 2024/4/1
 * @PROJECT_NAME wechat
 * @description create BillEntity by john_sqwen
 * and  value is
 */
@Table(value = "repayment_info",dataSource = "ds2")
public class BillEntity implements Serializable {
    @Id(value = "id")
    private long id;
    @Column(value = "cert_no")
    private String certNo;
    @Column(value = "cert_no")
    private String paymentType;
    @Column(value = "bank_no")
    private String bankNo;
    @Column(value = "openid")
    private String openId;
    @Column(value = "loan_no")
    private String loanNo;
    @Column(value = "order_id")
    private String orderId;
    @Column(value = "busi_id")
    private String busiId;
    @Column(value = "busi_type")
    private String busiType;
    @Column(value = "result")
    private int result;
    @Column(value = "remark")
    private String remark;
    @Column(value = "settle_account_id")
    private String settleAccountId;
    @Column(value = "source")
    private String source;
    @Column(value = "loan_channel")
    private String loanChannel;
    @Column(value = "loan_sub_channel")
    private String loanSubChannel;
    @Column(value = "system_id")
    private String systemId;
    @Column(value = "dataType")
    private int dataType;
    @Column(value = "requestInfo")
    private String requestInfo;
    @Column(value = "cust_repay_type")
    private int custRepayType;
    @Column(value = "create_time")
    private Date createTime;
    @Column(value = "update_time")
    private Date updateTime;

    public BillEntity() {
    }

    public BillEntity(long id, String certNo, String paymentType, String bankNo, String openId, String loanNo, String orderId, String busiId, String busiType, int result, String remark, String settleAccountId, String source, String loanChannel, String loanSubChannel, String systemId, int dataType, String requestInfo, int custRepayType, Date createTime, Date updateTime) {
        this.id = id;
        this.certNo = certNo;
        this.paymentType = paymentType;
        this.bankNo = bankNo;
        this.openId = openId;
        this.loanNo = loanNo;
        this.orderId = orderId;
        this.busiId = busiId;
        this.busiType = busiType;
        this.result = result;
        this.remark = remark;
        this.settleAccountId = settleAccountId;
        this.source = source;
        this.loanChannel = loanChannel;
        this.loanSubChannel = loanSubChannel;
        this.systemId = systemId;
        this.dataType = dataType;
        this.requestInfo = requestInfo;
        this.custRepayType = custRepayType;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getLoanNo() {
        return loanNo;
    }

    public void setLoanNo(String loanNo) {
        this.loanNo = loanNo;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getBusiId() {
        return busiId;
    }

    public void setBusiId(String busiId) {
        this.busiId = busiId;
    }

    public String getBusiType() {
        return busiType;
    }

    public void setBusiType(String busiType) {
        this.busiType = busiType;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSettleAccountId() {
        return settleAccountId;
    }

    public void setSettleAccountId(String settleAccountId) {
        this.settleAccountId = settleAccountId;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getLoanChannel() {
        return loanChannel;
    }

    public void setLoanChannel(String loanChannel) {
        this.loanChannel = loanChannel;
    }

    public String getLoanSubChannel() {
        return loanSubChannel;
    }

    public void setLoanSubChannel(String loanSubChannel) {
        this.loanSubChannel = loanSubChannel;
    }

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public int getDataType() {
        return dataType;
    }

    public void setDataType(int dataType) {
        this.dataType = dataType;
    }

    public String getRequestInfo() {
        return requestInfo;
    }

    public void setRequestInfo(String requestInfo) {
        this.requestInfo = requestInfo;
    }

    public int getCustRepayType() {
        return custRepayType;
    }

    public void setCustRepayType(int custRepayType) {
        this.custRepayType = custRepayType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "BillEntity{" +
                "id=" + id +
                ", certNo='" + certNo + '\'' +
                ", paymentType='" + paymentType + '\'' +
                ", bankNo='" + bankNo + '\'' +
                ", openId='" + openId + '\'' +
                ", loanNo='" + loanNo + '\'' +
                ", orderId='" + orderId + '\'' +
                ", busiId='" + busiId + '\'' +
                ", busiType='" + busiType + '\'' +
                ", result=" + result +
                ", remark='" + remark + '\'' +
                ", settleAccountId='" + settleAccountId + '\'' +
                ", source='" + source + '\'' +
                ", loanChannel='" + loanChannel + '\'' +
                ", loanSubChannel='" + loanSubChannel + '\'' +
                ", systemId='" + systemId + '\'' +
                ", dataType=" + dataType +
                ", requestInfo='" + requestInfo + '\'' +
                ", custRepayType=" + custRepayType +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
